<form action="{:url()}" method="post" class="form_single">
    <div class="box">
      <div class="box-body">
        <div class="row">
          <div class="col-md-6">
            <div class="form-group">
              <label>人员名称</label>
              <span>（人员名称，用于前端展示）</span>
              <input class="form-control" name="name" placeholder="请输入人员名称" value="{$info['name']|default=''}" type="text">
            </div>
          </div>
            
          <div class="col-md-6">
            <div class="form-group">
              <label>年龄</label>
              <input class="form-control" name="age" placeholder="请输入年龄" value="{$info['age']|default='0'}" type="text">
            </div>
          </div> 
            
          <div class="col-md-6">
            <div class="form-group">
              <label>密码</label>
              <span>（例如：https://demo.onebase.org）</span>
              <input class="form-control" name="password" placeholder="请输入密码" value="{$info['password']|default=''}" type="text">
            </div>
          </div>


          <div class="col-md-6">
            <div class="form-group">
              <label>性别</label>
              <select name="sex" class="form-control">
                    <option value="0" {notempty name='info'} {if condition="$info['sex'] eq 0"} selected="selected" {/if} {/notempty}>男</option>
                    <option value="1" {notempty name='info'} {if condition="$info['sex'] eq 1"} selected="selected" {/if} {/notempty}>女</option>
                </select>
            </div>
          </div>

        
          
            
          </div>
        </div>
        
      <div class="box-footer">
          
        <input type="hidden" name="id" value="{$info['id']|default='0'}"/>
        
        {include file="layout/edit_btn_group"/}
      </div>
        
      </div>

</form>